Skip to content

Clarify .prop modifier interacting with components #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 22, 2017
Merged

Clarify .prop modifier interacting with components #966

merged 3 commits into from
Jun 22, 2017

Conversation

davidhewitt
Copy link
Contributor

As per discussion on vuejs/vue#5925

@@ -1800,6 +1800,8 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
```

`.camel` is not needed if you are using string templates, or compiling with `vue-loader`/`vueify`.

If the tag is a component then `.prop` will set the property on the component's `$el`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move it up to the .prop section?

@davidhewitt
Copy link
Contributor Author

Sure, have done so, how's that? Feel free to squash the commits when merging if desirable.

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks!

@chrisvfritz chrisvfritz merged commit e19076d into vuejs:master Jun 22, 2017
kazupon pushed a commit to kazupon/vuejs.org that referenced this pull request Oct 1, 2017
* Clarify .prop modifier interacting with components

* Move .prop text into bullets

* Remove whitespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants